package com.yidu.domain;

import java.util.Date;

import com.yidu.common.Tools;

public class Emp {
    private String empId;

    private String empName;

    private Date empBirthday;
    
    private String empBirthdayStr ;//只是在页面上显示

    private String empDesc;

    private String clsId;
    
     
    public String getEmpBirthdayStr() {
    	if(empBirthday!=null){
    		empBirthdayStr = Tools.getDateStr(empBirthday);
    	}
		return empBirthdayStr;
	}

	public void setEmpBirthdayStr(String empBirthdayStr) {
		this.empBirthdayStr = empBirthdayStr;
	}

	public String getEmpId() {
        return empId;
    }

    public void setEmpId(String empId) {
        this.empId = empId == null ? null : empId.trim();
    }

    public String getEmpName() {
        return empName;
    }

    public void setEmpName(String empName) {
        this.empName = empName == null ? null : empName.trim();
    }

    public Date getEmpBirthday() {
        return empBirthday;
    }

    public void setEmpBirthday(Date empBirthday) {
        this.empBirthday = empBirthday;
    }

    public String getEmpDesc() {
        return empDesc;
    }

    public void setEmpDesc(String empDesc) {
        this.empDesc = empDesc == null ? null : empDesc.trim();
    }

    public String getClsId() {
        return clsId;
    }

    public void setClsId(String clsId) {
        this.clsId = clsId == null ? null : clsId.trim();
    }
}